package pojo;

import java.security.Timestamp;
import java.util.List;

public class Order {
    private int order_id;
    private List<MilkTeaProduct> products;
    private int[] quantities;
    private double total_amount;
    private String order_status;
    private java.sql.Timestamp created_at;

    public Order(int order_id, List<MilkTeaProduct> products, int[] quantities, double total_amount, String order_status,java.sql.Timestamp created_at ) {
        this.order_id = order_id;
        this.products = products;
        this.quantities = quantities;
        this.total_amount = total_amount;
        this.order_status = order_status;
        this.created_at = created_at;
    }


    public int getOrder_id() {
        return order_id;
    }

    public List<MilkTeaProduct> getProducts() {
        return products;
    }

    public int[] getQuantities() {
        return quantities;
    }

    public double getTotal_amount() {
        return total_amount;
    }

    public String getOrder_status() {
        return order_status;
    }

    public java.sql.Timestamp getCreated_at() {
        return created_at;
    }

    public void setCreated_at(java.sql.Timestamp created_at) {
        this.created_at = created_at;
    }
}